package IC.lir.instructions;

public class MoveFieldInstruction extends ComplexMoveInstruction {
	
	//C'tor
	public MoveFieldInstruction(Operand base, Operand offset, Operand mem, boolean isLoad) {
		super(base,offset,mem,isLoad);
	}
	
	@Override
	public String toString() {
		if (isLoad) 
			return "MoveField " + base + "." + offset + "," + mem;
		else
			return "MoveField " + mem + "," + base + "." + offset;	
	}

}